#!/bin/bash
mkdir ~/.superide

# create venv
python3 -m venv ~/.superide/penv

# install superide-core
wget -P ~/.superide/cache https://gitee.com/SuperIDE/si-core-installer/repository/archive/v1.2.2.zip 
cd ~/.superide/cache
unzip -o -d ~/.superide/cache v1.2.2.zip
cd si-core-installer-v1.2.2
~/.superide/penv/bin/python3 get-superide.py